{  Statement: http://codeforces.ru/problemset/problem/112/B
	Verdict: Accepted
}
var
        n, x, y : longint;

begin  
        read(n, x, y);
        n := n shr 1;
        if ((x = n) or (x = n + 1)) and ((y = n) or (y = n + 1)) then write('NO') else write('YES');
end.